package com.bean;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 工艺明细实体类
 */

public class Craft implements java.io.Serializable {

	// Fields
	private Integer craftId;	//id 内部标识
	private String craftCode;	//工艺编码，工艺的格式编码
	private String craftName;	//工艺名称
	private Integer craftTypeId;	//工艺类型id，关联工艺类型表
	private Integer gradeId;	//工艺等级id，关联工艺等级表
	private Double stdTime;		//标准工时，由管理员填写的理想工时，供应商看不见，用作对比报价
	private Double output;		//标准产量，由管理员填写的理想产量，供应商看不见，用作对比报价
	private Double stdPrice;	//标准价格，由管理员填写的理想价格，供应商看不见，用作对比报价
	private String demand;		//工艺要求
	private Integer count;		//标准次数，由管理员填写的理想次数，用作对比报价
	private String memo;		//工艺备注
	
	private CraftType craftType;
	private CraftGrade craftGrade;
	
	// Constructors

	/** default constructor */
	public Craft() {
	}

	/** minimal constructor */
	public Craft(Integer craftId) {
		this.craftId = craftId;
	}

	public Craft(Integer craftId, String craftCode, String craftName,
			Integer craftTypeId, Integer gradeId, Double stdTime,
			Double output, Double stdPrice, String demand, Integer count,
			String memo, CraftType craftType, CraftGrade craftGrade) {
		super();
		this.craftId = craftId;
		this.craftCode = craftCode;
		this.craftName = craftName;
		this.craftTypeId = craftTypeId;
		this.gradeId = gradeId;
		this.stdTime = stdTime;
		this.output = output;
		this.stdPrice = stdPrice;
		this.demand = demand;
		this.count = count;
		this.memo = memo;
		this.craftType = craftType;
		this.craftGrade = craftGrade;
	}

	public Integer getCraftId() {
		return craftId;
	}

	public void setCraftId(Integer craftId) {
		this.craftId = craftId;
	}

	public String getCraftCode() {
		return craftCode;
	}

	public void setCraftCode(String craftCode) {
		this.craftCode = craftCode;
	}

	public String getCraftName() {
		return craftName;
	}

	public void setCraftName(String craftName) {
		this.craftName = craftName;
	}

	public Integer getCraftTypeId() {
		return craftTypeId;
	}

	public void setCraftTypeId(Integer craftTypeId) {
		this.craftTypeId = craftTypeId;
	}

	public Integer getGradeId() {
		return gradeId;
	}

	public void setGradeId(Integer gradeId) {
		this.gradeId = gradeId;
	}

	public Double getStdTime() {
		return stdTime;
	}

	public void setStdTime(Double stdTime) {
		this.stdTime = stdTime;
	}

	public Double getOutput() {
		return output;
	}

	public void setOutput(Double output) {
		this.output = output;
	}

	public Double getStdPrice() {
		return stdPrice;
	}

	public void setStdPrice(Double stdPrice) {
		this.stdPrice = stdPrice;
	}

	public String getDemand() {
		return demand;
	}

	public void setDemand(String demand) {
		this.demand = demand;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public CraftType getCraftType() {
		return craftType;
	}

	public void setCraftType(CraftType craftType) {
		this.craftType = craftType;
	}

	public CraftGrade getCraftGrade() {
		return craftGrade;
	}

	public void setCraftGrade(CraftGrade craftGrade) {
		this.craftGrade = craftGrade;
	}

	
}